Skip to main content

All Questions

Tagged with
0votes
0answers
120views

How to separate two columns from one content on a page template?

I am just creating my first serious web project built on Wordpress and during my task (basically learning by doing) i came to a following problem. The designer wants to show two columns of text on ...
Guldur's user avatar
0votes
1answer
42views

Please tell how to stop the category from showing up on posts

Please tell me how to remove the category hence, it does not show up on posts. my content.php file is given below...which contains the code for showing up meta. but I am not able to figure out the ...
Anshul Kashyap's user avatar
0votes
1answer
32views

Excerpts not showing on main page

I made my first wordpress child theme, but it's not working correctly. This is my custom-functions.php coding: // custom excerpt length function themify_custom_excerpt_length( $length ) { return ...
Mooiman's user avatar
0votes
1answer
102views

How is WordPress changing the content markup?

In my post there is Visual and Text tabs. I've formatted some content and in the text tab it looks like this: <strong>The Mission Statement –</strong> The following is a mission ...
1.21 gigawatts's user avatar
4votes
1answer
525views

Get ID of a page containing secondary loop in content

I am trying to get the ID (outside of loop) of a page which have a loop of another CPT within its content using a shortcode. If I do a print_r of get_queried_object(), all I get the args used to ...
Abhik's user avatar
  • 2,921
0votes
2answers
1kviews

Get post content from outside the loop with plugin shortcode usability

This is great for showing just the raw content... Get post content from outside the loop But i'd also like to apply shortcodes from various plugins to my content to affect the content. What would I ...
Pete's user avatar
  • 1,058
1vote
2answers
5kviews

How to load all pages into one page with their templates

I am learning how to work with Wordpress, and im trying to build my own website in it. Since my website is a onepages, i would like to be able to load all my pages ( they then count as sections ) to ...
Dennis Heitinga's user avatar
0votes
1answer
2kviews

<?php the_content(); ?> to get a little more content after 'read more' inside loop

I want the to give a little more content after <!--more--> tag inside Loop. I saw this on wordpress codex This script gives the content before the <!--more--> tag: <?php global $...
Aaisha Monisha Malik's user avatar
-1votes
2answers
82views

Single Loop With Dual Content Area

Is there a way to implement a single loop with dual content area. E.g. A single loop having 2 of <?php the_content(); ?> Dinstinguished as shown bellow with video and write-up respectively ...
Dz1's user avatar
  • 121
0votes
1answer
43views

Making a specific page wordpress compatable that is not index

When I first created my website I overwrote the wordpress php and essentially made the website static. Now I want to make one specific page wordpress compatable (e.g. when i make posts from the ...
zgnohc's user avatar
-1votes
1answer
1kviews

the_content() "crashes" for single pages

I have big trouble with the_content() for single.php. Whats my problem? the_content() doesn't give any output on single pages furthermore it crashes (no other PHP code below the function call is ...
netblognet's user avatar
0votes
2answers
5kviews

get parent content inside child posts

I have a custom post type where I've created 3 pages in a parent-child relationship. The pages are created like this : PARENT-CHILD-GRANDCHILD I want the child and the grandchild pages to get the ...
agis's user avatar
  • 421
0votes
1answer
48views

Accessing the Posts page Content

I have a Posts page set in settings->reading - posts page is set to a page called "notes" How can I access the title, content & featured image of the page? WP seems to want to access the first ...
Will's user avatar
  • 352
8votes
12answers
64kviews

remove <p> tags from the_content

I've got a post format of Image, and I am running into an issue where the image is being wrapped by a <p> tag. I want to get rid of that tag (specifically on the single.php version) of those ...
Jon Mitten's user avatar
0votes
4answers
1kviews

How do I display an image before the first post of the loop when I'm using get_template_part?

I have used $count before, but never run into this problem. I cannot get it to work. I have limited php background, so please be patient with me! Here is the $count setup code: <?php $count = 0;...
timshutes's user avatar

153050per page
close